<template>
  <div class="detail">
    <p class="d_p">商品详情</p>
    <el-input placeholder="请输入内容" v-model="input" :disabled="true"></el-input>
  </div>
</template>

<script>
export default {
  data() {
    return {
      detail: [],
    };
  },
  mounted() {
    let id = this.$route.query.productId;
    console.log(id);
    var obj = {
      productId: id,
    };
    this.$network.getDeta(obj).then((res) => {
      console.log(res.data.data);
      this.detail = res.data.data
    });
  },
};
</script>

<style lang="scss" scoped>
@import "@/scss/index.scss";
.d_p {
  @include FontOnly(40px);
  @include Mlt(30px, 30px);
}
</style>